package com.mdlib.helper.ui.adapter;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.ljlib.help.R;
import com.mdlib.helper.model.entity.ProblemEntity;

import java.util.List;

/**
 * 作者：HQY on 16/11/18 15:31
 * 邮箱：hqy_xz@126.com
 */

public class ProblemAdapter extends BaseQuickAdapter<ProblemEntity> {

    public ProblemAdapter(List<ProblemEntity> data) {
        super(R.layout.item_problem, data);
    }

    @Override
    protected void convert(BaseViewHolder baseViewHolder, ProblemEntity problemEntity) {
        baseViewHolder.setText(R.id.tv_problem_title, problemEntity.getTitle());

    }
}
